package com.javacoo.xservice.example.service.impl;

import com.javacoo.xservice.base.support.log.LogService;
import com.javacoo.xservice.base.support.swaparea.SwapAreaData;
import com.javacoo.xservice.base.utils.FastJsonUtil;

import lombok.extern.slf4j.Slf4j;

/**
 * 日志服务实现
 * <li></li>
 *
 * @author: duanyong@jccfc.com
 * @since: 2021/3/3 13:38
 */
@Slf4j
public class LogServiceImpl implements LogService {
    /**
     * 记录日志
     * <p>说明:</p>
     * <li></li>
     *
     * @param logData
     * @author DuanYong
     * @since 2017年7月3日下午2:01:00
     */
    @Override
    public void record(SwapAreaData logData) {
        log.info("记录日志:{}", FastJsonUtil.toJSONString(logData));

    }
}
